// 2013-9-11下午10:51:17  net.betou.trade.main.dao.role.SystemRoleDao.java

package net.betou.trade.main.dao.role;

import java.util.List;

import net.betou.trade.entity.main.Role;

/**
 * 
 * @author 叶装装
 */
public interface SystemRoleDao extends Dao{
	
	/**
	 * 查找系统角色列表
	 * @param searchProperty
	 * @param searchValue
	 * @param orderProperty
	 * @param orderDirection
	 * @return
	 */
	public List< Role > findList( Boolean manager, Boolean allowRead, Integer level, String searchProperty, String searchValue, String orderProperty, String orderDirection );
	
	/**
	 * 查找管理员对应的全部ROLEList
	 * @param level
	 * @param selfId
	 * @return
	 */
	public List< Role > findList( Integer level, Integer adminId );
}
